#Makefile
ifneq ($(KERNELRELEASE),) 
#	obj-m := -DEXPORT_SYMTAB 
 	obj-m := globalvar.o
else 
# your kernel dir
KERNELDIR := /usr/src/linux-2.6.32
PWD := $(shell pwd) 
default:
	$(MAKE) -C $(KERNELDIR) M=$(PWD) modules 
clean:
	rm *.o *.mod.c *.symvers *.ko
endif
